package com.youlai.boot.core.tenant.model.enums;

import lombok.Getter;

/**
 * 租户申请状态枚举
 *
 * @author haoxr
 * @since 3.0.0
 */
@Getter
public enum TenantApplicationStatus {

    /**
     * 待审核
     */
    PENDING("PENDING", "待审核"),

    /**
     * 审核通过
     */
    APPROVED("APPROVED", "审核通过"),

    /**
     * 审核拒绝
     */
    REJECTED("REJECTED", "审核拒绝"),

    /**
     * 已完成
     */
    COMPLETED("COMPLETED", "已完成");

    private final String code;
    private final String desc;

    TenantApplicationStatus(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}

